package wml.clipstore.map;

import java.util.ArrayList;
import java.util.List;

import wml.clipstore.base.Entity;

/**
 * 
 * @author Miller.Wang
 * @since 2011-11-30
 */
class Interpreter {

	private static List<String> names = new ArrayList<String>();
	static{
		names.add("test.beans.User");
		names.add("test.beans.Course");
		names.add("test.beans.OnlineCourse");
		names.add("test.beans.Student");
		names.add("test.beans.Teacher");
	}
	@SuppressWarnings("unchecked")
	static List<Class<? extends Entity>> getClasses()
			throws ClassNotFoundException {
		List<Class<? extends Entity>> classes = new ArrayList<Class<? extends Entity>>();
		for (String name : names)
			classes.add((Class<? extends Entity>) Class.forName(name));
		return classes;
	}

}
